.class public Lcom/waiqin365/lightapp/kehu/a/a/ah;
.super Lcom/waiqin365/lightapp/kehu/a/d;


# instance fields
.field public d:Lcom/waiqin365/lightapp/kehu/b/bd;

.field public e:Ljava/util/ArrayList;

.field public f:Ljava/util/HashMap;

.field public g:Ljava/util/ArrayList;

.field public h:Ljava/util/ArrayList;

.field public i:I

.field public j:Ljava/lang/String;

.field public o:Ljava/lang/String;

.field public p:Ljava/lang/String;

.field public q:Lcom/waiqin365/lightapp/kehu/b/ab;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x67

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/a/d;-><init>(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->e:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->f:Ljava/util/HashMap;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->g:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->h:Ljava/util/ArrayList;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 11

    const-wide/16 v4, 0x0

    const/4 v1, 0x0

    :try_start_0
    new-instance v7, Lorg/json/JSONObject;

    invoke-direct {v7, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v0, "cmapproval"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "cmapproval"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->j:Ljava/lang/String;

    :cond_0
    const-string/jumbo v0, "hasNoVerifyVals"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "hasNoVerifyVals"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->o:Ljava/lang/String;

    :cond_1
    const-string/jumbo v0, "cmotherdetail"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "cmotherdetail"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->i:I

    :cond_2
    const-string/jumbo v0, "cmdetail"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1b

    const-string/jumbo v0, "cmdetail"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v2

    move v0, v1

    :goto_0
    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v3

    if-ge v0, v3, :cond_1b

    invoke-virtual {v2, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v3

    new-instance v6, Lcom/waiqin365/lightapp/kehu/b/bd;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/kehu/b/bd;-><init>()V

    iput-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "code"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "field_type"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "label"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    const-string/jumbo v6, "max_len"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_3

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "max_len"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    :cond_3
    const-string/jumbo v6, "must_input"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_4

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "must_input"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    :cond_4
    const-string/jumbo v6, "select_item"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_5

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "select_item"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    :cond_5
    const-string/jumbo v6, "max_pic"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_6

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "max_pic"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v8

    iput v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->i:I

    :cond_6
    const-string/jumbo v6, "max_pic_size"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_7

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "max_pic_size"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const/4 v9, 0x0

    invoke-static {v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v8

    iput v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->j:I

    :cond_7
    const-string/jumbo v6, "allow_sel"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_8

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "1"

    const-string/jumbo v9, "allow_sel"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    iput-boolean v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->k:Z

    :cond_8
    const-string/jumbo v6, "value"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_9

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "value"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->e:Ljava/lang/String;

    :cond_9
    const-string/jumbo v6, "display_value"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_a

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "display_value"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->f:Ljava/lang/String;

    :cond_a
    const-string/jumbo v6, "readonly"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_b

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "1"

    const-string/jumbo v9, "readonly"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    iput-boolean v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->m:Z

    :cond_b
    const-string/jumbo v6, "ignore"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_c

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "1"

    const-string/jumbo v9, "ignore"

    invoke-virtual {v3, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    iput-boolean v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    :cond_c
    const-string/jumbo v6, "pic_url"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_d

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "pic_url"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->o:Ljava/lang/String;

    :cond_d
    const-string/jumbo v6, "location_a"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_e

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "location_a"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->p:Ljava/lang/String;

    :cond_e
    const-string/jumbo v6, "can_share"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_f

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "can_share"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->q:Ljava/lang/String;

    :cond_f
    const-string/jumbo v6, "cm_id"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_10

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "cm_id"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->l:Ljava/lang/String;

    :cond_10
    const-string/jumbo v6, "mss_country_name"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_11

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_country_name"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->r:Ljava/lang/String;

    :cond_11
    const-string/jumbo v6, "mss_province_name"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_12

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_province_name"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->s:Ljava/lang/String;

    :cond_12
    const-string/jumbo v6, "mss_area_name"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_13

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_area_name"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->t:Ljava/lang/String;

    :cond_13
    const-string/jumbo v6, "mss_city_name"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_14

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_city_name"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->u:Ljava/lang/String;

    :cond_14
    const-string/jumbo v6, "mss_country"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_15

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_country"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->v:Ljava/lang/String;

    :cond_15
    const-string/jumbo v6, "mss_province"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_16

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_province"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->w:Ljava/lang/String;

    :cond_16
    const-string/jumbo v6, "mss_city"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_17

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_city"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->x:Ljava/lang/String;

    :cond_17
    const-string/jumbo v6, "mss_area"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_18

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "mss_area"

    invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->y:Ljava/lang/String;

    :cond_18
    const-string/jumbo v6, "needVerify"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_19

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "needVerify"

    const-string/jumbo v9, "0"

    invoke-virtual {v3, v8, v9}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->z:Ljava/lang/String;

    :cond_19
    const-string/jumbo v6, "create_data"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_1a

    const-string/jumbo v6, "create_data"

    invoke-virtual {v3, v6}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v6

    if-eqz v6, :cond_1a

    const-string/jumbo v8, "creator_id"

    invoke-virtual {v6, v8}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_1a

    const-string/jumbo v8, "creator_id"

    invoke-virtual {v6, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    iput-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->p:Ljava/lang/String;

    :cond_1a
    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "description"

    const-string/jumbo v9, ""

    invoke-virtual {v3, v8, v9}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->B:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    const-string/jumbo v8, "accessoryList"

    const-string/jumbo v9, ""

    invoke-virtual {v3, v8, v9}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->C:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->f:Ljava/util/HashMap;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    iget-object v6, v6, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v8

    invoke-virtual {v3, v6, v8}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->g:Ljava/util/ArrayList;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->d:Lcom/waiqin365/lightapp/kehu/b/bd;

    invoke-virtual {v3, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    :cond_1b
    const-string/jumbo v0, "linkman_config"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_21

    const-string/jumbo v0, "linkman_config"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v8

    if-eqz v8, :cond_20

    invoke-virtual {v8}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-lez v0, :cond_20

    move v6, v1

    :goto_1
    invoke-virtual {v8}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v6, v0, :cond_20

    new-instance v9, Lcom/waiqin365/lightapp/kehu/b/bd;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/kehu/b/bd;-><init>()V

    invoke-virtual {v8, v6}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v10

    const-string/jumbo v0, "code"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1c

    const-string/jumbo v0, "code"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->h:Ljava/lang/String;

    const-string/jumbo v0, "must_input"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1d

    const-string/jumbo v0, "must_input"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_3
    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->c:Ljava/lang/String;

    const-string/jumbo v0, "label"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1e

    const-string/jumbo v0, "label"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_4
    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->g:Ljava/lang/String;

    const-string/jumbo v0, "sequence"

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1f

    const-string/jumbo v0, "sequence"

    const-wide/16 v2, 0x0

    invoke-virtual {v10, v0, v2, v3}, Lorg/json/JSONObject;->optDouble(Ljava/lang/String;D)D

    move-result-wide v2

    :goto_5
    double-to-float v0, v2

    iput v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->A:F

    const-string/jumbo v0, "field_type"

    const-string/jumbo v2, ""

    invoke-virtual {v10, v0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->a:Ljava/lang/String;

    const-string/jumbo v0, "max_len"

    const-string/jumbo v2, ""

    invoke-virtual {v10, v0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->b:Ljava/lang/String;

    const-string/jumbo v0, "select_item"

    const-string/jumbo v2, ""

    invoke-virtual {v10, v0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->d:Ljava/lang/String;

    const-string/jumbo v0, "1"

    const-string/jumbo v2, "ignore"

    const-string/jumbo v3, ""

    invoke-virtual {v10, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, v9, Lcom/waiqin365/lightapp/kehu/b/bd;->n:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->h:Ljava/util/ArrayList;

    invoke-virtual {v0, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v6, 0x1

    move v6, v0

    goto/16 :goto_1

    :cond_1c
    const-string/jumbo v0, ""

    goto :goto_2

    :cond_1d
    const-string/jumbo v0, ""

    goto :goto_3

    :cond_1e
    const-string/jumbo v0, ""

    goto :goto_4

    :cond_1f
    move-wide v2, v4

    goto :goto_5

    :cond_20
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->h:Ljava/util/ArrayList;

    new-instance v2, Lcom/waiqin365/lightapp/kehu/a/a/ai;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kehu/a/a/ai;-><init>(Lcom/waiqin365/lightapp/kehu/a/a/ah;)V

    invoke-static {v0, v2}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    :cond_21
    const-string/jumbo v0, "linkman"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_23

    const-string/jumbo v0, "linkman"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    move v2, v1

    :goto_6
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v2, v0, :cond_23

    invoke-virtual {v3, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    invoke-virtual {v4}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object v5

    new-instance v6, Ljava/util/HashMap;

    invoke-direct {v6}, Ljava/util/HashMap;-><init>()V

    :goto_7
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_22

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v6, v0, v8}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_7

    :catch_0
    move-exception v0

    move v0, v1

    :goto_8
    return v0

    :cond_22
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->e:Ljava/util/ArrayList;

    invoke-virtual {v0, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_6

    :cond_23
    const-string/jumbo v0, "credit_data"

    invoke-virtual {v7, v0}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_24

    new-instance v2, Lcom/waiqin365/lightapp/kehu/b/ab;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/b/ab;-><init>()V

    iput-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->q:Lcom/waiqin365/lightapp/kehu/b/ab;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->q:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v3, "id"

    const-string/jumbo v4, ""

    invoke-virtual {v0, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/b/ab;->d:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->q:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v3, "credit_id"

    const-string/jumbo v4, ""

    invoke-virtual {v0, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/b/ab;->e:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/a/a/ah;->q:Lcom/waiqin365/lightapp/kehu/b/ab;

    const-string/jumbo v3, "name"

    const-string/jumbo v4, ""

    invoke-virtual {v0, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/kehu/b/ab;->a:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_24
    const/4 v0, 0x1

    goto :goto_8
.end method
